projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3969d1b
)
Signalize that CUPS connection is available when EISCONN occurs
author
mark@ecs.vuw.ac.nz
<mark@ecs.vuw.ac.nz>
Tue, 19 May 2009 14:08:21 +0000
(16:08 +0200)
committer
Marek Kasik
<mkasik@redhat.com>
Tue, 19 May 2009 14:08:21 +0000
(16:08 +0200)
Add test for EISCONN error when testing whether a connection to CUPS server
is available (#576678 - patch by mark@ecs.vuw.ac.nz).
Signed-off-by: Marek Kasik <mkasik@redhat.com>
modules/printbackends/cups/gtkcupsutils.c
patch
|
blob
|
history
diff --git
a/modules/printbackends/cups/gtkcupsutils.c
b/modules/printbackends/cups/gtkcupsutils.c
index af6e8d5a770283d5cb79d575d98bfbac2912e67d..bcd03dc4be609c2af3237b3b1a6dedc5ad8d1861 100644
(file)
--- a/
modules/printbackends/cups/gtkcupsutils.c
+++ b/
modules/printbackends/cups/gtkcupsutils.c
@@
-1567,7
+1567,7
@@
gtk_cups_connection_test_get_state (GtkCupsConnectionTest *test)
error_code = errno;
- if (code == 0)
+ if (code == 0
|| error_code == EISCONN
)
{
close (test->socket);
test->socket = -1;